﻿<UserControl x:Class="Fractals.ExceptionDisplayControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:Controls="clr-namespace:ArgusControls;assembly=ArgusControls"
			 xmlns:ColoredControls="clr-namespace:ArgusControls.ThemeControls;assembly=ArgusControls"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Foreground="White" Background="Black">

	<Grid x:Name="LayoutRoot" Margin="10">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition/>
		</Grid.RowDefinitions>
		<TextBlock Text="Exception:" Grid.Row="0" Grid.Column="0"/>
		<TextBox x:Name="tbException" IsReadOnly="True" Grid.Row="0" Grid.Column="1" VerticalScrollBarVisibility="Auto" Background="Black" Foreground="White" HorizontalScrollBarVisibility="Auto" SelectionBackground="Black" Margin="5,0,0,0"/>
		<ColoredControls:ThemeButton x:Name="ExceptionWindowButtonBack" Content="Back" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="5,5,0,5"/>
	</Grid>
</UserControl>
